#pragma once
#include "graphic.h"
#include "GraphicFactory.h"
#include "Label.h"


class Clock :
	public Graphic
{
public:
	Clock(void);
	virtual ~Clock(void);
	DEF_CREATE_CALLBACK(Clock)
protected:
	DECLARE_MESSAGE_MAP()
	afx_msg void OnTimer(UINT_PTR nIDEvent);
public:
	virtual void initPos(CPoint& pt1, CPoint& pt2);
	virtual void Serialize(CArchive& ar);
	void getTime(void);
public:
	Label _label;
};

